/*
 *  SceneObject.h
 *  RTDemo
 *
 *  Created by steveca  on 16/05/09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef __RTRT_SCENEOBJ_H__
#define __RTRT_SCENEOBJ_H__

#include "Prerequisite.h"

namespace RTRT {
	
    class SceneObject : public AllocatedObject<SceneObject>
    {
    public:
        SceneObject() : 
            m_next(NULL)
        {
            
        }
        ~SceneObject() 
        {
            m_next = NULL;
        }

		inline SceneObject* next() {
			return m_next;
		}
        
		
    public:
		SceneObject *m_next;
		TriangleMesh m_triMesh;
    };
}



#endif
